package com.zjitc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.View;
import org.springframework.web.servlet.view.InternalResourceView;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/19 16:03
 * @description:
 */
@Controller
public class LocationController {
  @RequestMapping("/witch")
public View witch(){
  View view=new InternalResourceView("/index.jsp");
  return view;
}
@RequestMapping("/give")
public View give(){
  View view=new InternalResourceView("/WEB-INF/index.jsp");
  return view;
}
}
